]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ci: Add executable bit to malcontent-client
authorIgnacy Kuchciński <ignacykuchcinski@gnome.org>
Tue, 21 Oct 2025 14:14:40 +0000 (16:14 +0200)
committerIgnacy Kuchciński <ignacykuchcinski@gmail.com>
Tue, 21 Oct 2025 14:22:28 +0000 (14:22 +0000)
For some reason, installing malcontent with buildah as a proxy, results
in the malcontent-client binary missing the execute permission, even
though manually invoking the install-meson-project.sh script results in
the correct permissions being set.

Work around this by manually setting the correct permissions on the
malcontent-client binary.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3918>

.gitlab-ci/build-toolbox-image.sh

index ec7da0ba5bda4334f094e0aac96dd81ad67afcd3..d99fcdfba42871a02abf0a1c6a4807789b5f5fb9 100755 (executable)
@@ -62,6 +62,8 @@ build_container() {
 
   # add latest malcontent to the toolbox image for testing future integration
   buildah run $build_cntr /usr/libexec/install-meson-project.sh https://gitlab.freedesktop.org/pwithnall/malcontent.git main -Dlibgsystemservice:gtk_doc=false
+  # somehow installing with buildah breaks the execute bit in malcontent-client
+  buildah run $build_cntr chmod 755 /usr/bin/malcontent-client
 
   # include convenience script for updating mutter dependency
   local update_mutter=$(mktemp)